# _*_ coding: utf-8 _*_
# @Time : 2024-01-25 17:04
# @Author : WF

import pyautogui

# 输入字符穿
pyautogui.typewrite('hello world')

# 模拟按下 a 键
# pyautogui.press('a')

# 模拟释放 a 键
pyautogui.keyDown('a')
pyautogui.keyUp('a')

# 组合键
pyautogui.hotkey('ctrl', 'a')
